package com.example.zhongyuxin1011.xmlparser;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

/**
 * Created by zhongyuxin1011 on 2017/7/8 0008.
 */

@XStreamAlias("usr")
public class Usr {
    @XStreamAsAttribute()
    private String name;
    @XStreamAsAttribute()
    private String status;
    @XStreamAsAttribute()
    private String rtsp;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRtsp() {
        return rtsp;
    }

    public void setRtsp(String rtsp) {
        this.rtsp = rtsp;
    }

    @Override
    public String toString() {
        return "Usr{" +
                "name='" + name + '\'' +
                ", status='" + status + '\'' +
                ", rtsp='" + rtsp + '\'' +
                '}';
    }
}
